package Class.Advance.PermissionModifiers.AnotherPackage;

import Class.Advance.PermissionModifiers.MemberContainer;

public class TestAnotherPackOtherClass {
    MemberContainer container = new MemberContainer();

    public void test(){
        container.member1 = 10;
        //报错，member的权限修饰符为protected，不能在不同包下的无关类内使用
        //container.member2 = 10;
    }
}
